package com.fr.staticTest;

public class Test2 {
    /**
     * 静态块按顺序执行
     * test static 1
     * test static 2
     * */
    static{
        System.out.println("test static 1");
    }
    public static void main(String[] args) {
         
    }
     
    static{
        System.out.println("test static 2");
    }
}